﻿using Lis.DALFactory;
using Lis.IDAL;
using Lis.IRepository;
using Lis.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Lis.Repository
{
    public class UserInfoRepository : GenericRepository<UserInfo>, IUserInfoRepository
    {
        public override void GetDal()
        {
            CurrentDal = AbstractDalFactory.GetUserInfoDal();
        }

        public UserInfo GetById(string id)
        {
            return ((IUserInfoDal)CurrentDal).GetById(id);
        }
    }
}